package net.rock.eshop.mapper;

import net.rock.eshop.entity.Address;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AddressMapper {
    List<Address> showAddress(int userId);

    void add(Address address);
    void del(Address address);
    void edit(Address address);
    void unsetDefault(Integer userId);
}
